emellor@ewan [Sun, 2 Oct 2005 17:22:22 +0000 (18:22 +0100)]
Move XendVnet from using DBMap etc to using xstransact. This is the last
dependency upon xsnode, xsobj, and xsresource, so these can all go.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sun, 2 Oct 2005 17:21:01 +0000 (18:21 +0100)]
Call refresh in the domain_lookup and domain_lookup_by_name methods. This
should reduce the incidence of stale domain information being used by xend, but
is only a stop-gap.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sun, 2 Oct 2005 17:17:26 +0000 (18:17 +0100)]
Fix call to XendCheckpoint.restore, since that method no longer needs a
XendDomain instance passed in.
Remove meaningless indirection of imports through web/reactor.py. Tidy import
statements.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 16:10:52 +0000 (17:10 +0100)]
Merge.
emellor@ewan [Fri, 30 Sep 2005 16:10:20 +0000 (17:10 +0100)]
Add the config file parsing for the on_{poweroff,reboot,crash} options, so that
they actually take effect. Added behaviour "rename-restart" for debugging
purposes, that renames the domain out of the way, preserving it for debugging,
but starts a new domain too.
Add explicit remove of old domain paths when creating a new domain, to avoid
stale information affecting us (by shutting the domain down, for example).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 16:05:08 +0000 (17:05 +0100)]
Minor tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Sep 2005 14:45:20 +0000 (15:45 +0100)]
Fix earlier merge with Ewan's xenstore changes.
emellor@ewan [Fri, 30 Sep 2005 12:59:28 +0000 (13:59 +0100)]
Change rebooting specification so that we can have domains crash and stay
around to be debugged, for example.
Fix problem in XendDomainInfo.eventChannel caused by a mis-merge.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 12:58:08 +0000 (13:58 +0100)]
Update comment/variable names to reflect the fact that the backend paths now
contain the frontend domid, not the uuid. The actual functionality is the same,
because the ID is referred to by path level, so the change in semantics is not
a problem.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 12:41:10 +0000 (13:41 +0100)]
Within the store, split the persistent information regarding a VM from the
transient information regarding a domain. This allows live localhost migration,
which is important for testing migration, and also allows migration when we
have a distributed store. The backend paths in the store now refer to the
frontend domain ID, not its UUID, and blktap has changed to match.
To support this split in the information, the cleanup procedure has been split
to match.
Change the save-restore interface between XendDomain, XendDomainInfo, and
XendCheckpoint, to remove some intermingling, in particular taking XendDomain
out of the loop for the restore procedure.
Improved the recovery procedure to avoid trying to destroy dom0 when recovering.
Added a lock around XendDomain.refresh and one around
XendDomainInfo.refreshShutdown, to improve the behaviour when recreating
domains at startup. There are still races here, so more thought needs to be
given to the locking.
Live reconfiguration of an existing domain is temporarily broken.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 10:55:49 +0000 (11:55 +0100)]
Added cache-control headers to pages returned by HTTP server so that pages
expire immediately. This prevents navigation to stale pages.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 10:40:59 +0000 (11:40 +0100)]
Remove the bizarre arrangement whereby EventChannel inherits from dict. Move
the channel-creation logic into eventChannel, making the EventChannel class
simpler. Remove the closeEventChannel method -- it was simply doing a check
for None, and that isn't enough value to justify the extra method when there
is an EventChannel.close method there too.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 30 Sep 2005 09:50:19 +0000 (10:50 +0100)]
Merge.
emellor@ewan [Fri, 30 Sep 2005 09:48:49 +0000 (10:48 +0100)]
Added DevController.configuration and configurations methods. These parse the
store for the current device configuration, and convert it back into the
s-expression used in the config files and the save files. This means that we
can bring the devices up properly on restore.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Sep 2005 08:17:07 +0000 (09:17 +0100)]
Fix typos I introduced into tpmfront driver.
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 22:44:34 +0000 (23:44 +0100)]
Fix compiler warnings when shadow debugging is enabled.
Fix two classes of warnings when debugging of shadow code is enabled:
- The type_info field in pfn_info is a long, so use a %lx format
specifier when printing it.
- Fix a warning about uninitialized use of eff_guest_pte.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
iap10@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 18:59:18 +0000 (19:59 +0100)]
Allow kernel built with privileged operation support (e.g. -xen/-xen0) to be used as a guest kernel on x86_64
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 17:28:28 +0000 (18:28 +0100)]
More save/restore code in interrupts-enabled contest, where
it properly belongs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 17:15:49 +0000 (18:15 +0100)]
Remove unused debug code.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 16:39:33 +0000 (17:39 +0100)]
Move xenbus_suspend outside critical region with
interrupts disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 16:12:48 +0000 (17:12 +0100)]
Update GDB server documentation for crashed guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 16:12:20 +0000 (17:12 +0100)]
Avoid verbosity when connection xenbus -> xenstore.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 15:57:23 +0000 (16:57 +0100)]
Don't define vectors for IPIs we don't use in Xen
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 15:39:32 +0000 (16:39 +0100)]
Slight rejig avoids grant entry warning message on xm save.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@kneesaa.uk.xensource.com [Thu, 29 Sep 2005 15:25:50 +0000 (11:25 -0400)]
full devices expect to be able to read the partition table during xlvbd_add
but couldn't because the device was not marked as BLKIF_CONNECTED and thus
blkif_queue_request discarded the read request. fix bug #220
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 14:49:54 +0000 (15:49 +0100)]
Define new notify_remote_via_irq() interface which is a
safe version for drivers to use that is aware of
save/restore. Post-restore notifications are silently
dropped, in the expectation that xenbus will eventually
get round to telling the driver it needs to reconnect.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 14:14:03 +0000 (15:14 +0100)]
Change semantics of bind_evtchn_to_xxx and
unbind_evtchn_from_xxx. The bind now returns the IRQ
number on success. The unbind takes this as a parameter
instead of the event-channel port. Also, unbind closes
down the underlying event-channel port if it is still
live.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 12:05:43 +0000 (13:05 +0100)]
VIRQs and IPIs on VCPU#0 are automatically re-bound on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 10:10:27 +0000 (11:10 +0100)]
Reindent more xenlinux files. Remove defunct header file.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Sep 2005 08:59:46 +0000 (09:59 +0100)]
Set guest selectors to be null if it's not valid when switch to
protected-mode in the guest firmware.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 21:18:30 +0000 (22:18 +0100)]
Fix fixed-point long multiplication used in time delta
calculations. The carry flag was clobbered before it was
added to the result.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 20:06:49 +0000 (21:06 +0100)]
merge
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 17:21:09 +0000 (18:21 +0100)]
Fix gnttab setup, which I broke 2 changesets ago.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 17:03:20 +0000 (18:03 +0100)]
This patch fixes a race between when the disable cpu is marked online
and binding IPIs back to the CPU. In some cases, an IPI would be sent
to CPU1 before it had allocated a new evtchn. Moving smp_resume() call
before setting the cpu online fixes this race. This fixes bug #228
(http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=228).
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 17:01:40 +0000 (18:01 +0100)]
Reindent grant-table kernel code and reserve first few
entries for tools use.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 16:51:24 +0000 (17:51 +0100)]
Fix netif save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 16:25:08 +0000 (17:25 +0100)]
Fixes for blkif save/restore. A 'dd if=/dev/sda1 of=/dev/null'
seems to lock up the domU kernel on restore still (can be
pinged but not ssh'ed). This still needs investigation.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 16:02:17 +0000 (17:02 +0100)]
Merge.
emellor@ewan [Wed, 28 Sep 2005 16:00:22 +0000 (17:00 +0100)]
Remove unused domain_devtype_get.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 15:59:34 +0000 (16:59 +0100)]
Remove unused xend_domain_device.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 15:59:13 +0000 (16:59 +0100)]
Change device IDs to be integers, as required now by DevController. Remove
unused op_device. Remove broken code to show the domain configuration using
the HTTP server.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 15:15:20 +0000 (16:15 +0100)]
Remove broken assertion in 64-bit shadow pagetable code.
emellor@ewan [Wed, 28 Sep 2005 14:09:45 +0000 (15:09 +0100)]
Nothing.
emellor@ewan [Wed, 28 Sep 2005 14:09:24 +0000 (15:09 +0100)]
Minor tidy up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 14:06:48 +0000 (15:06 +0100)]
Added new classmethod xstransact.ListRecursive, and use this inside
DevController to tidy up the code there. Change the semantics of
xstransact.list and List to return the empty list rather than None if there
are no entries or the directory is not present, as this is easier to handle
for the client.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 14:03:27 +0000 (15:03 +0100)]
Nothing.
emellor@ewan [Wed, 28 Sep 2005 14:03:00 +0000 (15:03 +0100)]
Merged.
emellor@ewan [Wed, 28 Sep 2005 14:02:42 +0000 (15:02 +0100)]
Merged.
emellor@ewan [Wed, 28 Sep 2005 14:02:26 +0000 (15:02 +0100)]
Merged.
emellor@ewan [Wed, 28 Sep 2005 14:02:09 +0000 (15:02 +0100)]
Merged.
emellor@ewan [Wed, 28 Sep 2005 14:01:09 +0000 (15:01 +0100)]
Merge.
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 14:00:48 +0000 (15:00 +0100)]
Fix preemptible uses of smp_processor_id() in page fault
handler.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 14:00:11 +0000 (15:00 +0100)]
Fix returning of results broken by last change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
jrb44@plym.cl.cam.ac.uk [Wed, 28 Sep 2005 13:29:35 +0000 (14:29 +0100)]
Changed -xen x86-32 defconfig CONFIG_EXT2_FS=y
Was previously a module, caused LTP test sysfs01 to fail. Compiling in to
the kernel brings this in to line with our own -xen x86-64 kernel and
vendor kernels.
Signed-off-by: James Bulpin <james@xensource.com>
jrb44@plym.cl.cam.ac.uk [Wed, 28 Sep 2005 13:21:29 +0000 (14:21 +0100)]
Changed -xen x86-32 defconfig CONFIG_SECURITY_CAPABILITIES=y
Was previously a module, which wasn't getting loaded and causing the
LTP capset01 test to fail. Compiling in to the kernel brings this in to
line with our own -xen x86-64 kernel and vendor kernels.
Signed-off-by: James Bulpin <james@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:08:52 +0000 (14:08 +0100)]
merge?
yjiang5@vtsmp-build.sh.intel.com [Wed, 28 Sep 2005 13:07:57 +0000 (14:07 +0100)]
Initialize pointer array for set mapping.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:07:25 +0000 (14:07 +0100)]
imported patch ../tmp/fix_free_monitor_pagetable.patch
yjiang5@vtsmp-build32.sh.intel.com [Wed, 28 Sep 2005 13:06:41 +0000 (14:06 +0100)]
Save immediate operand into mcip structure.
Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:05:58 +0000 (14:05 +0100)]
With this patch, we can enable VMXAssist to bring up APs of SMP VMX
guest. On entry to VMXAssist:
1) %edx is the processor number, i.e. vcpu id, and for BSP it's 0.
2) %ebx is the vector number from SIPI.
Also removed some ugly tailing space.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
emellor@ewan [Wed, 28 Sep 2005 13:03:06 +0000 (14:03 +0100)]
Added logging of exceptions coming through callInfo, for better debugging.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 13:02:38 +0000 (14:02 +0100)]
Minor tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 12:49:33 +0000 (13:49 +0100)]
Currently the mmio_operands assumes writing to memory when operand 0 is
register or immediate, this is false for cmp/test opcode.
This patch resolve this problem, please review.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
emellor@ewan [Wed, 28 Sep 2005 12:44:15 +0000 (13:44 +0100)]
Improve HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:43:33 +0000 (13:43 +0100)]
Added missing quote to HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:43:07 +0000 (13:43 +0100)]
Added behaviour to read() to read directly from the transaction's path if no
arguments are specified.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:41:44 +0000 (13:41 +0100)]
Handle exceptions caused during processing of requests, to improve error
reporting.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:09:46 +0000 (22:09 +0100)]
Remove unused import, mark unused variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:09:12 +0000 (22:09 +0100)]
Remove unused imports, variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:08:07 +0000 (22:08 +0100)]
Fix final misuse of prettyprint parameters.
emellor@ewan [Tue, 27 Sep 2005 21:06:15 +0000 (22:06 +0100)]
Remove unused imports, and unused progress parameters from domain_save, domain_restore. Rename one instance of id to domid.
emellor@ewan [Tue, 27 Sep 2005 21:05:03 +0000 (22:05 +0100)]
Added getDeviceSxprs, to support xm block-list.
emellor@ewan [Tue, 27 Sep 2005 21:03:55 +0000 (22:03 +0100)]
Added sxprs, for xm block-list.
emellor@ewan [Tue, 27 Sep 2005 21:02:57 +0000 (22:02 +0100)]
Added behaviour to list() to list the transaction's path if no arguments are
given. Added list_recursive().
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 27 Sep 2005 14:11:59 +0000 (15:11 +0100)]
merge?
kaf24@firebug.cl.cam.ac.uk [Tue, 27 Sep 2005 14:11:07 +0000 (15:11 +0100)]
This patch adds "wbinvd" instruction emulation for vm86 mode.
This is needed when we bring up AP of SMP VMX guest.
Signed-off-by: Xin Li <xin.b.li@intel.com>
emellor@ewan [Tue, 27 Sep 2005 14:10:38 +0000 (15:10 +0100)]
This patch adds a quick check to 'xm restore' that checks the
existence and readability of the file given.
This fixes the issue detected in xm-tests 03_restore_badparm_neg and
04_restore_badfilename_neg.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 14:06:40 +0000 (15:06 +0100)]
This patch adds a quick check in "xm save" to make sure the path given
exists, and is writable.
This will fix the issue detected by xm-test 03_save_bogusfile_neg.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 14:03:00 +0000 (15:03 +0100)]
This patch cleans up some of the argument usage in PrettyPrint.py to
avoid a stack trace when doing an 'xm list -l'. Most of the
prettyprint() methods were called with 1 argument, but the functions
required 2 (one of which was unused).
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 13:49:31 +0000 (14:49 +0100)]
Remove DBMap etc from XendDomainInfo, moving the handling of the domain root
and VM root totally into XendDomainInfo. The DBMap stuff was all cruft,
following the move to xstransact. Removing it may also help those suffering
from poor start-up times caused by a large store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 13:36:58 +0000 (14:36 +0100)]
Remove the domain and VM paths from the store when destroying a domain. This
goes a long way towards fixing the problem of stale entries in the store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 12:54:02 +0000 (13:54 +0100)]
Merge.
emellor@ewan [Tue, 27 Sep 2005 12:53:06 +0000 (13:53 +0100)]
Detangle the restart/reboot/halt/save/restore code. There is now one point
for management of shutdown state, XendDomainInfo.refreshShutdown, which is
able to cope whatever the current state of the domain. This fixes bug #124:
running reboot within a domU doesn't bring the domain back up after shutdown,
and bug #256: "xm reboot" could not make domU reboot.
Fix the refreshing inside XendDomain to ensure that the values returned by xm
list reflect reality correctly. We were removing XendDomainInfo instances,
but not creating them on start-up, so if xend were restarted, domain
information was being lost.
Merge XendDomain.dom0_unknown and initial_refresh into
XendDomainInfo.recreate.
Catch exceptions inside callInfo, and reraise them as XendErrors.
Remove unused XendDomain.close.
Further improvements are needed to XendDomainInfo to ensure that it avoids all
race conditions on shutdown, and can cope correctly with xend restarting
during a shutdown.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 11:30:13 +0000 (12:30 +0100)]
Use constant in XendDomainInfo rather than embedding a string literal.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 11:29:36 +0000 (12:29 +0100)]
Added missing import socket statement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 18:13:57 +0000 (19:13 +0100)]
Move non-transactional and non-idempotent code out of
xenstore transaction retry loops in our device drivers.
Otherwise things get very smelly if a transaction fails and
is retried.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 17:49:21 +0000 (18:49 +0100)]
xenstore fires @releaseDomain both when a domain shuts
down and when it eventually dies. xenconsoled now only
relinquishes its handle on a domain when it dies. This
allows us to 'xm console' connect to a crashed domain,
which is very useful!
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Mon, 26 Sep 2005 17:15:55 +0000 (11:15 -0600)]
Choose LINUX_ARCH based on XEN_TARGET_ARCH, not ARCH
djm@kirby.fc.hp.com [Mon, 26 Sep 2005 17:07:49 +0000 (11:07 -0600)]
Merge latest xen-unstable into xen-ia64-unstable
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 15:31:33 +0000 (16:31 +0100)]
xenbus_transaction_end() returns negative error code.
Therefore need to test for -EAGAIN (not EAGAIN).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 25 Sep 2005 10:47:22 +0000 (11:47 +0100)]
Fix so that 'make uninstall' won't fail if /etc/xen
doesn't exist.
emellor@ewan [Sat, 24 Sep 2005 22:10:31 +0000 (23:10 +0100)]
Add helper method XendDomain.callInfo that stubs through into XendDomainInfo.
This is used to remove much of the code duplication in the public methods there.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sat, 24 Sep 2005 21:57:26 +0000 (22:57 +0100)]
Nothing.
emellor@ewan [Sat, 24 Sep 2005 21:57:04 +0000 (22:57 +0100)]
Merge.
emellor@ewan [Sat, 24 Sep 2005 19:41:48 +0000 (20:41 +0100)]
Added default value for ssidref -- 0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sat, 24 Sep 2005 19:36:15 +0000 (20:36 +0100)]
Move ImageHandler registration into image.py from XendDomainInfo.py. Move
ImageHandler.create and findImageHandlerClass to the module level, and inline
addImageHandlerClass. Move ImageHandler.kernel, ramdisk, cmdline, and flags,
which seem inadvertently to have been declared as class variables, and make
them instance variables instead.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 24 Sep 2005 14:35:47 +0000 (15:35 +0100)]
Fix build for pedantic compilers.
kaf24@firebug.cl.cam.ac.uk [Sat, 24 Sep 2005 07:58:41 +0000 (08:58 +0100)]
Fix tpm split driver to follow changes in the xenbus API.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
djm@kirby.fc.hp.com [Fri, 23 Sep 2005 21:41:28 +0000 (15:41 -0600)]
Doh! Cut-paste error of file copy in mkbuildtree-pre breaks build
djm@kirby.fc.hp.com [Fri, 23 Sep 2005 19:49:44 +0000 (13:49 -0600)]
Remove drivers/acpi/motherboard.c from sparse tree to match
xen-unstable. For now, copy it from elsewhere (see note
in xen-mkbuildtree-pre)